<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>



	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<meta name="description" content="Personal homepage of Kore Nordmann. Contains information about his mainly PHP related projects with some political rants in his blog.">
	<meta name="keywords" content="Image_3D, Image_Curve, Image_Turtle, Rays, k.Portal, k.bot, irc, irc bot, graphics, 3d">
	<meta name="language" content="en">
	<meta name="author" content="Kore Nordmann">
	<meta name="date" content="Thu, 29 Nov 2007 11:56:05 +0100">
	<meta name="robots" content="all">

	<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
	<meta name="DC.title" content="Image_3D performance">
	<meta name="DC.creator" content="Kore Nordmann">
	<meta name="DC.date" content="Thu, 29 Nov 2007 11:56:05 +0100">
	<meta name="DC.rights" content="CC by-sa">

	<link rel="Stylesheet" type="text/css" href="image_3d_performance_files/screen.css" media="screen">
	<link rel="Stylesheet" type="text/css" href="image_3d_performance_files/print.css" media="print">

	<link rel="icon" href="http://kore-nordmann.de/favicon.png" type="image/png">

<link rel="alternate" type="application/rss+xml" title="Image_3D performance" href="http://kore-nordmann.de/blog/image_3d_performance.rss">

	<title>Image_3D performance - Kore Nordmann - PHP / Projects / Politics</title>
</head><body>
<div class="frame">
	<h1>
		<a href="http://kore-nordmann.de/" title="Kore Nordmann - PHP / Projects / Politics">
			Kore Nordmann - PHP / Projects / Politics
		</a>
	</h1>

	<ul class="mainnav">
		<li class="selected">
			<a href="http://kore-nordmann.de/blog.html" title="Blog">
				Blog
			</a>
		</li>
		<li>
			<a href="http://kore-nordmann.de/projects.html" title="Projects">
				Projects
			</a>
		</li>
		<li>
			<a href="http://kore-nordmann.de/portfolio.html" title="Portfolio">
				Portfolio
			</a>
		</li>
	</ul>

	<div class="box" id="navigation">
	<h2>Contents</h2>
<ul>
<li class="requested">
	<a href="http://kore-nordmann.de/blog.html" title="Blog">Blog</a>
		<ul>
		<li>
	<a href="http://kore-nordmann.de/blog/php.html" title="PHP">PHP</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/phpug.html" title="PHP Usergroup">PHP Usergroup</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/projects.html" title="Project news">Project news</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/articles.html" title="Articles">Articles</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/irc_bot.html" title="k.Bot - PHP IRC Bot">k.Bot - PHP IRC Bot</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/busimess.html" title="busimess.org">busimess.org</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/personal.html" title="Personal &amp; Website">Personal &amp; Website</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/receipts.html" title="Rezepte">Rezepte</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/blog/tagging.html" title="Tagging">Tagging</a>
	</li>

	</ul>
</li>
<li>
	<a href="http://kore-nordmann.de/projects/projects.html" title="Projects">Projects</a>
		<ul>
		<li>
	<a href="http://kore-nordmann.de/projects/phpillow/index.html" title="PHPillow">PHPillow</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/projects/image_3d/index.html" title="Image 3D">Image 3D</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/projects/kaforkl/index.html" title="KaForkL">KaForkL</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/projects/k_bot/index.html" title="k.Bot">k.Bot</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/projects/code_snippets/index.html" title="Code snippets">Code snippets</a>
	</li>

	</ul>
</li>
<li>
	<a href="http://kore-nordmann.de/portfolio.html" title="Portfolio">Portfolio</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/about_me.html" title="About me">About me</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/photos/index.html" title="Photos">Photos</a>
		<ul>
		<li>
	<a href="http://kore-nordmann.de/photos/experiments.html" title="Experimental pictures">Experimental pictures</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/photos/norway.html" title="Norway">Norway</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/photos/industriekultur.html" title="Industriekultur">Industriekultur</a>
	</li>
<li>
	<a href="http://kore-nordmann.de/photos/misc.html" title="Miscellaneous pictures">Miscellaneous pictures</a>
	</li>

	</ul>
</li>
<li>
	<a href="http://kore-nordmann.de/impressum.html" title="Legal info">Legal info</a>
	</li>

</ul>
	</div>

	<div class="content" xml:lang="en" lang="en">

		<div class="path">
			<div class="breadcrumbs">
												


												<a href="http://kore-nordmann.de/.html">Start</a>
»				<a href="http://kore-nordmann.de/blog.html">Blog</a>
»				<a href="http://kore-nordmann.de/blog/image_3d_performance.html">Image_3D performance</a>
			</div>

			<a href="http://kore-nordmann.de/blog/image_3d_performance.rdf">
				RDF
			</a>
		 |
		<a href="http://kore-nordmann.de/blog/image_3d_performance.html">
			HTML
		</a>
				 | 
		<a href="http://kore-nordmann.de/blog/image_3d_performance.txt">
			Text
		</a>
		 | 
		<a href="http://kore-nordmann.de/blog/image_3d_performance.rss">
			Feed
		</a>
		</div>

		
<div id="image_3d_performance">
<h2>Image_3D performance</h2><p>The <a href="http://www.zend.com/de/products/zend_guard">ZendGuard</a>
offers optimization and encoding for your PHP code. I visited a friend
who ownes a license of ZendGuard so that we had the idea to test it
with something CPU intesinve like <a href="http://pear.php.net/package/Image_3D">Image_3D</a> . The results were quiet surprising.</p><table><tbody><tr><th>Rendering times</th><th>PHP 5.1.4</th><th>with APC</th><th>ZendOptimizer</th><th>encoded</th><th>min. optimization</th><th>max. optimization</th></tr><tr><td>raytracing</td><td>10.48s</td><td>10.40s</td><td>11.10s</td><td>13.35s</td><td>13.30s</td><td>13.30s</td></tr><tr><td>projection</td><td>0.47s</td><td>0.47s</td><td>0.48s</td><td>0.56s</td><td>0.56s</td><td>0.56s</td></tr></tbody></table><p>I
was surprised that simply adding the ZendOptimizer to the php.ini
caused a performance breakdown by 5%, and encoding the code, with or
without optimization increased the performance loss to nearly 30%. I
didn't expect a great performance improvement from a bytecode cache,
because the parsing is very minor to all the calculations done while
raytracing.</p><p>The improvements by <a href="http://pecl.php.net/package/APC">APC</a>
(enabled optimization) are so minimal, that it can be caused by
statistical noise. All the times are the mean value of 5 to 10
iterations - the difference was minimal, so that I didn't see the need
to test it more often.</p><p>I can understand, that the optimizer does
not offer any real improvements, like APC does, but I wouldn't expect
such performance impact.</p><a name="david-at-11-may-2006-23-32"></a><h3>David at 11. May 2006 - 23:32</h3><p>We found similar results when we did Zend/ionCube benchmarking in Feb this year - <a href="http://www.olate.co.uk/development/benchmarks.php">http://www.olate.co.uk/development/benchmarks.php</a></p>

</div>

<ul class="bookmark">
	<li>
		<a href="http://del.icio.us/post?url=http://kore-nordmann.de/blog/image_3d_performance.txt">
			<img src="image_3d_performance_files/delicious.png" alt="Bookmark at del.icio.us" title="Bookmark blog entry at del.icio.us" height="16" width="16">
		</a>
		<a href="http://digg.com/submit?phase=2&amp;url=http://kore-nordmann.de/blog/image_3d_performance.txt">
			<img src="image_3d_performance_files/digg.png" alt="Digg it!" title="Digg blog entry" height="16" width="16">
		</a>
		<a href="http://yigg.de/neu?exturl=http://kore-nordmann.de/blog/image_3d_performance.txt">
			<img src="image_3d_performance_files/yiggit.png" alt="Yigg it!" title="Yigg blog entry" height="16" width="16">
		</a>
	</li>
</ul>

<h3>Comments</h3>

<form action="/blog/image_3d_performance.dyn" method="post">
<fieldset>
	<label for="blog_author"><strong>Author:</strong></label>
		<input name="author" id="blog_author" type="text">
	<label for="blog_homepage">Homepage:</label>
		<input name="homepage" id="blog_homepage" type="text">
	<!-- This input field is only for cactching spam bots, should be hidden
	     using CSS -->
		<input name="url" id="blog_url" type="text">
	<label for="blog_comment"><strong>Comment:</strong></label>
		<textarea name="comment" id="blog_comment" rows="10" cols="50"></textarea>
	<label for="blog_submit">Submit:</label>
		<input name="submit" id="blog_submit" value="Send comment" type="submit">

	<legend>Add new comment</legend>
</fieldset>
</form>

<p>
	Fields with bold names are mandatory.
</p>

	</div>

	<div class="box" id="search">
	<h2>Search</h2>
<form action="/search.html" method="post">
	<fieldset>
		<legend>Search</legend>
		<label for="search_phrase">Search phrase</label>
		<input id="search_phrase" name="phrase" type="text">
		<input name="search" value="Search" type="submit">
	</fieldset>
</form>
	</div>

	<div class="box" id="info">
	
<ul>
<li class="revision">
	Revision 6<br>

	<ul>
		<li>
			<p>
				Revision 303
				by kore
				at Thu, 29 Nov 2007 11:56:05 +0100
			</p>
			<p class="message">
				- Fixed table<br>

			</p>
		</li>
		<li>
			<p>
				Revision 77
				by kore
				at Fri, 27 Jul 2007 20:26:41 +0200
			</p>
			<p class="message">
				- Set ctime in svn property wcv:ctime instead of custom title<br>

			</p>
		</li>
		<li>
			<p>
				Revision 49
				by kore
				at Fri, 27 Jul 2007 10:30:50 +0200
			</p>
			<p class="message">
				- Added abstracts to blog postings<br>

			</p>
		</li>
		<li>
			<p>
				Revision 36
				by kore
				at Thu, 26 Jul 2007 16:04:35 +0200
			</p>
			<p class="message">
				- Fixed rst in blog text files<br>

			</p>
		</li>
		<li>
			<p>
				Revision 30
				by kore
				at Thu, 26 Jul 2007 15:12:09 +0200
			</p>
			<p class="message">
				- Some content fixes in fetched blog articles<br>

			</p>
		</li>
		<li>
			<p>
				Revision 25
				by kore
				at Thu, 26 Jul 2007 00:12:06 +0200
			</p>
			<p class="message">
				- Added blog contents<br>

			</p>
		</li>
	</ul>
</li>
<li class="spacer">&nbsp;</li>

<li>By <a href="" onclick="returnMailLink( this, 'kore-nordmann', 'de', 'website' );">Kore Nordmann</a></li>

	<li>At Thu, 29 Nov 2007 11:56:05 +0100</li>

		<li>License: <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.de" title="Creative Commons Attribution-ShareAlike 3.0">CC by-sa</a></li>
</ul>
	</div>

	<div class="box" id="books">
	<h2>eZ Components</h2>
<a id="book_ezc" href="http://www.amazon.de/gp/product/3836210738?ie=UTF8&amp;tag=korenordmap07-21&amp;linkCode=as2&amp;camp=1638&amp;creative=6742&amp;creativeASIN=3836210738" title="eZ Components">
	<img src="image_3d_performance_files/ez_components.png" alt="eZ Components" height="90" width="67">
</a>
<h2>Exploring PHP</h2>
<a id="book_expl" href="http://www.amazon.de/gp/product/3935042957?ie=UTF8&amp;tag=korenordmap07-21&amp;linkCode=as2&amp;camp=1638&amp;creative=6742&amp;creativeASIN=3935042957" title="Exploring PHP">
	<img src="image_3d_performance_files/exploring_php.png" alt="Exploring PHP" height="90" width="62">
</a>
	</div>

	<div class="box">
		<a href="http://norro.de/Spam/Pot1/+/hp.honeypot.simpleformspam=" title="Spam honeypot - NOT for humans">Spam honeypot</a>
	</div>

	<div class="box" id="thanks">
	<h2>Amazon wishlist</h2>
<ul>
	<li>
		<a id="t_amazon" href="http://www.amazon.de/gp/registry/?type=wishlist&amp;id=4MA8PIIHYC7E" title="Amazon wishlist">
			<img src="image_3d_performance_files/amazon_wishlist.png" alt="Amazon wishlist">
		</a>
	</li>
</ul>

<h2>Powered by</h2>
<ul>
	<li>
		<a id="t_lighttpd" href="http://lighttpd.net/" title="Lighttpd">
			<img src="image_3d_performance_files/lighttpd.png" alt="Powered by Lighttpd">
		</a>
	</li>
	<li>
		<a id="t_wcv" href="http://wcv.kore-nordmann.de/" title="Web Content Viewer">
			<img src="image_3d_performance_files/wcv.png" alt="Powered by Web Content Viewer">
		</a>
	</li>
	<li>
		<a id="t_php" href="http://php.net/" title="The PHP Group">
			<img src="image_3d_performance_files/php.png" alt="Powered by PHP">
		</a>
	</li>
	<li>
		<a id="t_svn" href="http://subversion.tigris.org/" title="Subversion">
			<img src="image_3d_performance_files/svn.png" alt="Powered by Subversion">
		</a>
	</li>
	<li>
		<a id="t_gentoo" href="http://gentoo.org/" title="Gentoo Foundation">
			<img src="image_3d_performance_files/gentoo.png" alt="Powered by Gentoo">
		</a>
	</li>
</ul>
	</div>

	<div class="clear"></div>

	<div class="footer">
Revision <strong>6</strong> by
		<strong><a href="" onclick="returnMailLink( this, 'kore-nordmann', 'de', 'website' );">Kore Nordmann</a></strong>
	at <strong>Thu, 29 Nov 2007 11:56:05 +0100</strong> 
	licensed under <strong><a href="http://creativecommons.org/licenses/by-sa/3.0/deed.de" title="Creative Commons Attribution-ShareAlike 3.0">CC by-sa</a></strong>
	<br>
	Displayed with <a href="http://web-content-viewer.org/" title="Web Content Viewer">WCV</a>
	licensed under <a href="http://www.gnu.org/licenses/gpl.txt" title="GNU General Public License - Version 3">GPLv3</a>
</div>
</div>
</body></html>